package com.cxh.util.db;

import java.util.List;
import java.util.Map;

/**
 * @类功能说明：分页工具类
 * @公司名称：创泽
 * @作者：WeiYC
 * @创建时间：2015-12-2 上午11:20:26
 */
public class PageUtil {
	private int totalNum;	//查询记录总数量
	private int pageNum;	//查询总页数
	private int nowPage;	//当前页
	private String sql;		//查询语句
	private List<Map<String, Object>> records;

	public int getTotalNum() {
		return totalNum;
	}

	public void setTotalNum(int totalNum) {
		this.totalNum = totalNum;
	}

	public List<Map<String, Object>> getRecords() {
		return records;
	}

	public void setRecords(List<Map<String, Object>> records) {
		this.records = records;
	}

	public int getPageNum() {
		return pageNum;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	public int getNowPage() {
		return nowPage;
	}

	public void setNowPage(int nowPage) {
		this.nowPage = nowPage;
	}

	public String getSql() {
		return sql;
	}

	public void setSql(String sql) {
		this.sql = sql;
	}

}
